package com.mifengs.mall.di.module;

import com.mifengs.commonbase.di.scope.ActivityScope;
import com.mifengs.mall.ui.write.HandWriteContract;
import com.mifengs.mall.ui.write.HandWritePresent;

import dagger.Module;
import dagger.Provides;

/**
 * Created by lynn on 2018/3/12.
 */

@Module
public class HandWriteModule {
    public final HandWriteContract.View mView;

    public HandWriteModule(HandWriteContract.View mView) {
        this.mView = mView;
    }

    @ActivityScope
    @Provides
    public HandWritePresent providePresenter(){
        return new HandWritePresent(mView);
    }
}
